package org.hzandyy.framework.liteflow.flow;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeForComponent;
import lombok.extern.slf4j.Slf4j;

/**
 * @author Hu Zhi
 * @since 2023/12/7 16:48
 */
@LiteflowComponent("node_for")
@Slf4j
public class NodeForCmp extends NodeForComponent {

    @Override
    public int processFor() throws Exception {
        int num = 5;
        log.info("loop for [{}]", num);
        return num;
    }

}
